package com.minivision.fdiot.rest.param.camera;

import com.minivision.fdiot.common.AuthParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * <Description> <br>
 *
 * @author dengmawei <br>
 * @version 1.0 <br>
 * @taskId <br>
 * @CreateDate 2018/4/9 <br>
 */
@Data
@ApiModel(value = "CameraQueryParam")
public class CameraQueryParam extends AuthParam {
    /**
     * 序列号
     */
    private static final long serialVersionUID = -4038881721831253113L;

    /**
     * 摄像机sn
     */
    @ApiModelProperty(value = "摄像机sn", name = "camSn", required = true)
    @NotBlank(message = "摄像机sn不能为空")
    private String camSn;

    /**
     * 设备sn
     */
    @ApiModelProperty(value = "设备sn", name = "deviceSn", required = true)
    @NotBlank(message = "设备sn不能为空")
    private String deviceSn;

    /**
     * 类型
     */
    @NotBlank(message = "类型不能为空")
    @ApiModelProperty(value = "类型", required = true)
    private String type;
}
